eliminate superfluous casting "redundant cast to the same type" (#212)
authortsteven4 <tsteven4@users.noreply.github.com>
Thu, 28 Jun 2018 13:25:44 +0000 (07:25 -0600)
committerGitHub <noreply@github.com>
Thu, 28 Jun 2018 13:25:44 +0000 (07:25 -0600)
commit7258c50783b41820e9a34370506e013c68de69f8
tree0395d912c3738794a86061e0203fb412c7894233
parentacc3307ec24740b679f282f82e8dbf5fc5019262
eliminate superfluous casting "redundant cast to the same type" (#212)

* eliminate superfluous casting "redundant cast to the same type"

this was based on clang-tidy google-readability-casting check,
but only for the Message redundant cast to the same type.
Some hand manipulation of literals was done before clang-tidy.
Some fixes were rejected for portability.

* eliminate a couple casts of integer literals to double.

* a few more casts of integer literals.
28 files changed:
bcr.cc
cst.cc
csv_util.cc
destinator.cc
energympro.cc
exif.cc
garmin_gpi.cc
garmin_txt.cc
ggv_log.cc
globalsat_sport.cc
gopal.cc
holux.cc
igo8.cc
jeeps/gpsapp.cc
jeeps/gpsmath.cc
lowranceusr4.cc
navilink.cc
nmea.cc
parse.cc
polygon.cc
raymarine.cc
tpo.cc
trackfilter.cc
unicsv.cc
units.cc
util.cc
vpl.cc
waypt.cc